# $Id: PKGBUILD 137745 2011-09-10 15:02:11Z pierre $
# Maintainer: AndyRTR <andyrtr at archlinux.org>

pkgname=beanshell
pkgver=2.0b4
pkgrel=2
pkgdesc="Small, free, embeddable, source level Java interpreter with object based scripting language features written in Java"
arch=('any')
url="http://www.beanshell.org/home.html"
license=('LGPL')
depends=('java-runtime')
provides=('bsh')
source=("http://www.beanshell.org/bsh-${pkgver}.jar")
noextract=("${pkgname}-${pkgver}.jar")
md5sums=('a1c60aa83c9c9a6cb2391c1c1b85eb00')

package() {
  install -m755 -d ${pkgdir}/usr/share/java/
  install -D -m644 ${srcdir}/bsh-${pkgver}.jar ${pkgdir}/usr/share/java/bsh.jar
}
